package com.hex.ds.hdtp.core.inf.script.test.repository;

import com.hex.ds.hdtp.core.inf.common.page.Page;
import com.hex.ds.hdtp.core.inf.common.repository.IBasicRepository;
import com.hex.ds.hdtp.core.inf.script.test.po.ScriptDataTestResultPo;

import java.util.List;

/**
 * @Package: com.hex.ds.hdtp.core.inf.script.test.repository
 * @ClassName IScriptDataTestResultRepository
 * @Description: 带数据脚本测试结果-数据接口
 * @Author: wz.li
 * @Date 2023/8/7 11:55
 * @Version v2.0.2
 **/
public interface IScriptDataTestResultRepository extends IBasicRepository<ScriptDataTestResultPo> {

    /*
     * @Method: queryListByPage <br>
     * @Param: [scriptDataTestResultPo, toPage] <br>
     * @Return: com.hex.ds.hdtp.core.inf.common.page.Page<com.hex.ds.hdtp.core.inf.script.test.po.ScriptDataTestResultPo> <br>
     * @Description：分页查询<br>
     * @Author： wz.li<br>
     * @Date： 2023/8/7 12:04 <br>
     * @Version： V2.0.2<br>
     */
    Page<ScriptDataTestResultPo> queryListByPage(ScriptDataTestResultPo scriptDataTestResultPo, Page toPage);

    /*
     * @Method: queryList <br>
     * @Param: [batchCode, taskPkId] <br>
     * @Return: java.util.List<com.hex.ds.hdtp.core.inf.script.test.po.ScriptDataTestResultPo> <br>
     * @Description：不分页查询<br>
     * @Author： wz.li<br>
     * @Date： 2023/8/7 15:12 <br>
     * @Version： V2.0.2<br>
     */
    List<ScriptDataTestResultPo> queryList(String batchCode, String taskPkId);
}
